QT      += sql

TARGET   = cryptography
TEMPLATE = lib

Release:CONFIG  += staticlib

include(../build/commons)

INCLUDEPATH += $$THIRDPARTY_INCLUDES $$KRYPTOS_INCLUDES

HEADERS += \
    KeyManager.h \
    X509Certificate.h \
    PKCS8Certificate.h \
    PublicKey.h \
    Encrypter.h \
    SymmetricEncrypter.h \
    SymmetricKey.h \
    SymmetricKeyMemory.h \
    SymmetricKeyFile.h \
    PKEncrypter.h \
    EncryptionManager.h \
    CryptoFile.h \
    CryptoRecipient.h \
    KeyGenerator.h \
    KeyManagerException.h \
    Encoder.h \
    Base64Encoder.h \
    ContactsManager.h \
    CryptoMetadata.h

SOURCES += \
    KeyManager.cpp \
    PublicKey.cpp \
    X509Certificate.cpp \
    SymmetricKeyFile.cpp \
    SymmetricEncrypter.cpp \
    SymmetricKey.cpp \
    SymmetricKeyMemory.cpp \
    PKEncrypter.cpp \
    EncryptionManager.cpp \
    CryptoFile.cpp \
    CryptoRecipient.cpp \
    KeyGenerator.cpp \
    Base64Encoder.cpp \
    ContactsManager.cpp \
    CryptoMetadata.cpp

Debug:LIBS += $$KRYPTOS_LIBPATH \
        -lentities            \
        -lutil                \
        -ldatabase            \
        $$THIRDPARTY_LIBS










